package day4.作业1026.作业01;

public class Master {
    private String name;

    public Master(String name) {
        this.name = name;
    }
    public void feed(Pet pet){
        System.out.println("投喂");
        pet.eat();
    }
}
